home *** CD-ROM | disk | FTP | other *** search
- *** 1.43 1992/07/20 22:09:56
- --- PatchLev.h 1992/08/14 15:04:11
- ***************
- *** 1,5 ****
-
- ! #define PatchLevel "82"
-
- /*
- *
- --- 1,5 ----
-
- ! #define PatchLevel "83"
-
- /*
- *
- *** 1.7 1992/06/03 15:23:13
- --- compiler.h 1992/08/14 15:04:16
- ***************
- *** 23,31 ****
- /* (note that gcc and C68 define this automatically when appropriate) */
-
- #ifdef __GNUC__
- ! #define __SIZE_TYPEDEF__ unsigned long
- ! #define __PTRDIFF_TYPEDEF__ long
- ! #define __WCHAR_TYPEDEF__ int
- #define __EXITING volatile void
- #ifndef __NO_INLINE__
- # define __GNUC_INLINE__
- --- 23,41 ----
- /* (note that gcc and C68 define this automatically when appropriate) */
-
- #ifdef __GNUC__
- ! #ifndef sun
- ! # define __SIZE_TYPEDEF__ unsigned long
- ! # define __PTRDIFF_TYPEDEF__ long
- ! # define __WCHAR_TYPEDEF__ int
- ! #else
- ! # /* sun always seems to have an agenda of their own */
- ! # include <sys/stdtypes.h>
- ! # define __SIZE_TYPEDEF__ int /* can you believe this!! */
- ! # define __PTRDIFF_TYPEDEF__ int /* or this!! */
- ! # define __WCHAR_TYPEDEF__ unsigned short /* this seems reasonable */
- ! # define _SIZE_T __SIZE_TYPEDEF__
- ! # define _WCHAR_T __WCHAR_TYPEDEF__
- ! #endif
- #define __EXITING volatile void
- #ifndef __NO_INLINE__
- # define __GNUC_INLINE__
- *** 1.8 1992/06/03 15:23:13
- --- limits.h 1992/08/14 15:04:25
- ***************
- *** 33,39 ****
- #define SHRT_MAX 32767
- #define SHRT_MIN (-32768)
- #define LONG_MAX 2147483647L
- ! #define LONG_MIN (-2147483648L)
- #define USHRT_MAX 65535U
- #define ULONG_MAX 4294967295UL
-
- --- 33,39 ----
- #define SHRT_MAX 32767
- #define SHRT_MIN (-32768)
- #define LONG_MAX 2147483647L
- ! #define LONG_MIN (-LONG_MAX-1) /* this fixes the float cast problem ! */
- #define USHRT_MAX 65535U
- #define ULONG_MAX 4294967295UL
-
- ***************
- *** 45,54 ****
- #else /* 32 bit ints */
-
- #define INT_MAX 2147483647
- ! #define INT_MIN (-2147483648)
- #define UINT_MAX 4294967295U
-
- #endif /* __MSHORT__ */
-
- #define MB_LEN_MAX 1 /* max. number of bytes in a multibyte character */
-
- --- 45,64 ----
- #else /* 32 bit ints */
-
- #define INT_MAX 2147483647
- ! #define INT_MIN (-INT_MAX-1) /* this fixes the float cast problem ! */
- #define UINT_MAX 4294967295U
-
- #endif /* __MSHORT__ */
- +
- + #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
- + /* Minimum and maximum values a `signed long long int' can hold. */
- + #define LONG_LONG_MAX 9223372036854775807LL
- + #define LONG_LONG_MIN (-LONG_LONG_MAX-1)
- +
- + /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */
- + #define ULONG_LONG_MAX 18446744073709551615ULL
- +
- + #endif /* __GNUC__ && !__STRICT_ANSI__)
-
- #define MB_LEN_MAX 1 /* max. number of bytes in a multibyte character */
-
- *** 1.8 1992/06/03 15:23:13
- --- mintbind.h 1992/08/14 15:04:30
- ***************
- *** 219,226 ****
- (int)trap_1_www(0x135, (short)(mode), (short)(drive))
- #define Psigpause(mask) \
- (void)trap_1_wl(0x136, (unsigned long)(mask))
- ! #define Psigaction(sig, act, oact) \
- trap_1_wwll(0x137, (short)(sig), (long)(act), (long)(oact))
-
- #ifdef __cplusplus
- }
- --- 219,230 ----
- (int)trap_1_www(0x135, (short)(mode), (short)(drive))
- #define Psigpause(mask) \
- (void)trap_1_wl(0x136, (unsigned long)(mask))
- ! #define Psigaction(sig, act, oact) \
- trap_1_wwll(0x137, (short)(sig), (long)(act), (long)(oact))
- + #define Pgeteuid() \
- + (short)trap_1_w(0x138)
- + #define Pgetegid() \
- + (short)trap_1_w(0x139)
-
- #ifdef __cplusplus
- }
- *** 1.7 1992/06/03 15:23:13
- --- st-out.h 1992/08/14 15:04:37
- ***************
- *** 59,64 ****
- --- 59,67 ----
- #define A_EQU 0x4000 /* equated */
- #define A_DEF 0x8000 /* defined */
- #define A_LNAM 0x0048 /* gst compat long name */
- + /* file symbols ala aln */
- + #define A_TFILE 0x0280 /* text file corresponding to object module */
- + #define A_TFARC 0x02C0 /* text file archive */
-
- #ifdef __cplusplus
- }
- *** 1.21 1992/06/03 15:23:13
- --- string.h 1992/08/14 15:04:40
- ***************
- *** 72,77 ****
- --- 72,82 ----
- __EXTERN int _bcmp __PROTO((const void *s1, const void *s2, unsigned long length));
- __EXTERN void _bzero __PROTO((void *dst, unsigned long length));
-
- + __EXTERN int stricmp __PROTO(( const char *, const char * ));
- + __EXTERN int strnicmp __PROTO(( const char *, const char *, size_t ));
- + __EXTERN int strcmpi __PROTO(( const char *, const char * ));
- + __EXTERN int strncmpi __PROTO(( const char *, const char *, size_t ));
- +
- #endif /* __STRICT_ANSI__ */
-
- /* some macro versions of functions. these are faster, but less
-